package com.blank.service;

import com.blank.pojo.bo.Book;

import java.sql.SQLException;
import java.util.List;

/**
 * @author BLANK
 * @date 2020/11/16
 */
public interface BookService {
    List<Book> selectAllBook() throws SQLException;
    boolean borrowBook(int id,String username) throws SQLException;
    List<Book> selectBookPage(int pageNum,int nums) throws SQLException;
    int countBookList() throws SQLException;

}
